import scrapy


class A58tcSpider(scrapy.Spider):
    name = "58tc"
    allowed_domains = ["ay.58.com"]
    start_urls = ["https://ay.58.com/sou/?key=%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91&button=%E6%90%9C%C2%A0%E7%B4%A2"]

    def parse(self, response):
        # print("陈世玉")
        print("===============================================")
        # content =response.text#获取网页源码
        content=response.body#获取二进制数据
        print(content)